// import axios from 'axios'
import { getToken } from '../utils/token.js'
import { instance } from '../utils/request'
const getUserInfo = () => {
  return instance({
    url: '/v1_0/user/profile',
    method: 'get',
    headers: {
      Authorization: `Bearer ${getToken().token}`
    }
  })
}
export { getUserInfo }
